<!DOCTYPE html>
<html>
  <head>
    <style>
      span { display: inline-block; width: 1em; height: 10px; background: green; }
    </style>
  </head>
  <body style="font-size: 20px">
    Test
    <div style="position: absolute; left: 0; width: 25px; height: 0; top: 0;">
      <span></span>
      <span></span>
    </div>
  </body>
</html>
